package com.link.base.base.saleactivity.dao.mybatis.mapper;

/*
 *  createdby: wangdawei
 *  created: 2018-11-20
 *  comments:
 */

import com.link.base.base.saleactivity.model.AccntCampMonitor;
import com.link.core.basic.dao.mapper.BasicMapper;

import java.util.List;


public interface AccntCampMonitorMapper extends BasicMapper<AccntCampMonitor> {
    /**
     * 查出记录并用客户去重
     * @param accntCampMonitor
     * @return
     * @throws Exception
     */
    List<AccntCampMonitor> queryByExampleList(AccntCampMonitor accntCampMonitor) throws Exception;

    /**
     * 查询第一条点击记录
     * @param aCMonitor
     * @return
     * @throws Exception
     */
    AccntCampMonitor queryByIdAc(AccntCampMonitor aCMonitor) throws Exception;

    /**
     * 查询客户参与活动列表
     * @param record
     * @return
     * @throws Exception
     */
    List<AccntCampMonitor> queryListPage(AccntCampMonitor record) throws Exception;

    /**
     * 查询客户参与活动详情
     * @param record
     * @return
     * @throws Exception
     */
    AccntCampMonitor queryDetailById(AccntCampMonitor record) throws Exception;
}
